home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
fractionRemapperTest.s3d
< prev
next >
Wrap
Text File
|
2000-11-03
|
3KB
|
90 lines
Background {
color 0 0 0
}
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF worldTime-REMAPPER FractionRemapper {
timeScale 110
startKey 10
endKey 110
}
ROUTE world-TIMER.fraction_changed TO worldTime-REMAPPER.inFraction
DEF Box01 Transform {
translation -25.74 0 0
children [
Shape {
appearance [
DEF ORANGE MultiAppearance {
material Material {
diffuseColor 0.9608 0.502 0.1961
specularColor 0.6213 0.4987 0.1707
shininess 0.25
transparency 0
}
}
]
geometry DEF Box01-MESH MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
]
}
DEF Camera01 Viewpoint{
position -93.86 101.9 109.4
orientation 0.7114 0.677 0.1885 -0.7463
fieldOfView 0.7854
fovMapping HORIZONTAL
description "Camera01"
}
DEF Camera01-POS-INTERP PositionInterpolator {
timeScale 110
key [
10 20 30 40 50 60 70 80 90 100 110
]
keyValue [
-93.86 101.9 109.4 -148.3 101.9 109.4 -76.87 101.9 109.4
38.01 101.9 109.4 114.1 101.9 109.4 137.6 101.9 109.4 149.7 101.9 109.4 150.5 101.9 109.4
139.8 101.9 109.4 117.8 101.9 109.4 84.41 101.9 109.4
]
}
ROUTE worldTime-REMAPPER.outFraction TO Camera01-POS-INTERP.set_fraction
ROUTE Camera01-POS-INTERP.value_changed TO Camera01.set_position
DEF Camera01-ROT-INTERP OrientationInterpolator {
timeScale 110
key [
10 20 30 40 50 60 70 80 90 100 110
]
keyValue [
0.7114 0.677 0.1885 -0.7463 0.5051 0.8395 0.2003 -0.8827
0.7894 0.5896 0.1709 -0.7037 0.8731 -0.4669 -0.1402 -0.6625 0.5492 -0.811 -0.2016 -0.8501
0.4759 -0.8569 -0.1984 -0.9056 0.4433 -0.8749 -0.1951 -0.9323 0.4414 -0.8759 -0.1949 -0.9339
0.4696 -0.8604 -0.1978 -0.9106 0.5365 -0.8195 -0.2015 -0.8593 0.6628 -0.7228 -0.1955 -0.775
]
}
ROUTE worldTime-REMAPPER.outFraction TO Camera01-ROT-INTERP.set_fraction
ROUTE Camera01-ROT-INTERP.value_changed TO Camera01.set_orientation
DEF Camera01.Target Transform {
translation -10.3 0 -37.17
children [
]
}